<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="author" content="广州依旧电子商务有限公司--http://www.19DZ.com" />
		<title>资讯信息</title>
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/style.css" />
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/idangerous.swiper.css" />
	</head>

	<body>
		<!--头部-->
		<include file="Public:header" />
		<!--头部  End-->

		<div class="sBmain">
			<div class="sBmain-s">
				<div class="sBsearch">
					<div style="font-size: 26px;color: #6484fc">校企对接</div>
					<div style="display: flex;flex-direction: row;align-items: center;">
						<input class="sBtext" type="text" id="key" value="{$keyword}">
						<input class="sBbutton" type="button" value="搜索" >
					</div>
					<form method="post" action='{:U("list/index",array("cid"=>$_GET["cid"]))}' id="form">
						<input type="hidden" name="keyword" id="keyword" value="{$keyword}"/>
						<input type="hidden" name="industryid" id="industryid" value="{$industryid}"/>
						<input type="hidden" name="xqdj1id" id="xqdj1id" value="{$xqdj1id}"/>
						<input type="hidden" name="xqdj2id" id="xqdj2id" value="{$xqdj2id}"/>
						<input type="hidden" name="xqdj3id" id="xqdj3id" value="{$xqdj3id}"/>
						<input type="hidden" name="cid" value="{$Think.get.cid}"/>
						<input type="hidden" name="p" id="p" value=""/>
					</form>
				</div>
				<div class="sBsearchContent" style="border-top: 2px solid #f59d1b;padding-top: 27px;">
					<div class="sBkind">
						<div class="sBkind-content">
							<span class="fl" style="font-size: 14px;">所属行业</span>
							<ul class="fl sB-ul" id="i">
								<li class="fl">全部</li>
								<foreach name="industry" item="v">
								<li class='fl <if condition="$industryid eq $key">active</if>' id="{$key}">{$v}</li>
								</foreach>
							</ul>
						</div>
						<div class="sBkind-content">
							<span class="fl" style="font-size: 14px;">产品类型1</span>
							<ul class="fl sB-ul" id="v1">
								<li class="fl">全部</li>
								<foreach name="xqdj1" item="v1">
								<li class='fl <if condition="$xqdj1id eq $key">active</if>' id="{$key}">{$v1}</li>
								</foreach>
							</ul>
						</div>
						<div class="sBkind-content">
							<span class="fl" style="font-size: 14px;">产品类型2</span>
							<ul class="fl sB-ul" id="v2">
								<li class="fl">全部</li>
								<foreach name="xqdj2" item="v2">
								<li class='fl <if condition="$xqdj2id eq $key">active</if>' id="{$key}">{$v2}</li>
								</foreach>
							</ul>
						</div>
						<div class="sBkind-content" style="border: 0px;">
							<span class="fl" style="font-size: 14px;">产品类型3</span>
							<ul class="fl sB-ul" id="v3">
								<li class='fl <if condition="$xqdj3id eq $key">active</if>'>全部</li>
								<foreach name="xqdj3" item="v3">
								<li class="fl " id="{$key}">{$v3}</li>
								</foreach>
							</ul>
						</div>
					</div>
					<div class="sBsearchContent-list">
						<foreach name="vlist" item="vo">
						<a href="{$vo.url}"><div class="sB-list sB-marb">
							<img class="list-img" src="{$vo.litpic}">
							<div class="sB-list" style="flex-direction: column;">
								<div class="sB-list-title">{$vo.title}</div>
								<div class="sB-list-stitle">
									<span>{$vo['keywordArr'][0]}</span>
									<span>{$vo['keywordArr'][1]}</span>
									<span>{$vo['keywordArr'][2]}</span>
								</div>
								<div class="sB-list-content">
									{$vo.description}
								</div>
							</div>
						</div></a>
						</foreach>
						
						<div class="sB-button">
							{$page}
						</div>
					</div>
				</div>
			</div>
		</div>


		<!--尾部-->
		<include file="Public:footer" />
		<!--尾部   End-->

		<script type="text/javascript" src="__PUBLIC__/js/jquery-1.11.1.min.js"></script>
		<script type="text/javascript" src="__PUBLIC__/js/idangerous.swiper.min.js"></script>
		<script type="text/javascript" src="__PUBLIC__/js/myjs.js"></script>
		<script>
			$(".sBbutton").click(function(){
				var i = $("#i .active").attr('id');
				var xqdj1 = $("#v1 .active").attr('id');
				var xqdj2 = $("#v2 .active").attr('id');
				var xqdj3 = $("#v3 .active").attr('id');
				var keyword = $("#key").val();
				if(i){
					$("#industryid").val(i);
				}else{
					$("#industryid").val('');
				}

				if(xqdj1){
					$("#xqdj1id").val(xqdj1);
				}else{
					$("#xqdj1id").val('');
				}
				if(xqdj2){
					$("#xqdj2id").val(xqdj2);
				}else{
					$("#xqdj2id").val('');
				}

				if(xqdj3){
					$("#xqdj3id").val(xqdj3);
				}else{
					$("#xqdj3id").val('');
				}
				if(keyword){
					$("#keyword").val(keyword);
				}else{
					$("#keyword").val('');
				}

				$("#p").val(1);
				$("#form").submit();

			});
		</script>
	</body>

</html>